<?xml version = "1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<!-- Fig. J.8: picture.html         -->
<!-- Creating and Using Image Maps. -->

<html xmlns = "http://www.w3.org/1999/xhtml">
   <head>
      <title>
         Python How to Program - Image Map
      </title>
   </head>

   <body>

      <p>

      <!-- the <map> tag defines an image map -->
      <map id = "picture">

         <!-- shape = "rect" indicates a rectangular    --> 
         <!-- area, with coordinates for the upper-left -->
         <!-- and lower-right corners                   -->
         <area href = "form.html" shape = "rect" 
            coords = "2,123,54,143" 
            alt = "Go to the feedback form" />
         <area href = "contact.html" shape = "rect" 
            coords = "126,122,198,143" 
            alt = "Go to the contact page" />
         <area href = "main.html" shape = "rect" 
            coords = "3,7,61,25" alt = "Go to the homepage" />
         <area href = "links.html" shape = "rect" 
            coords = "168,5,197,25" 
            alt = "Go to the links page" />
 
         <!-- value "poly" creates a hotspot in the shape -->
         <!-- of a polygon, defined by coords             -->
         <area shape = "poly" alt = "E-mail the Deitels" 
            coords = "162,25,154,39,158,54,169,51,183,39,161,26" 
            href = "mailto:deitel@deitel.com" />
   
         <!-- shape = "circle" indicates a circular -->
         <!-- area with the given center and radius -->
         <area href = "mailto:deitel@deitel.com" 
            shape = "circle" coords = "100,36,33" 
            alt = "E-mail the Deitels" />
      </map>

      <!-- <img src =... usemap = "#id"> indicates that the -->
      <!-- specified image map is used with this image      -->
      <img src = "deitel.gif" width = "200" height = "144"
         alt = "Deitel logo" usemap = "#picture" />
      </p>
   </body>
</html>

<!-- 
 ************************************************************************** 
 * (C) Copyright 2002 by Deitel & Associates, Inc. and Prentice Hall.     *
 * All Rights Reserved.                                                   *
 *                                                                        *
 * DISCLAIMER: The authors and publisher of this book have used their     *
 * best efforts in preparing the book. These efforts include the          *
 * development, research, and testing of the theories and programs        *
 * to determine their effectiveness. The authors and publisher make       *
 * no warranty of any kind, expressed or implied, with regard to these    *
 * programs or to the documentation contained in these books. The authors *
 * and publisher shall not be liable in any event for incidental or       *
 * consequential damages in connection with, or arising out of, the       *
 * furnishing, performance, or use of these programs.                     *
 **************************************************************************
-->
